Notes:

- The HIRES.BIN sub-routine loads at $7800. Look at the file BOOT.BAS
- The CocoMax routine in the COCOMAX3.BIN file when loaded into memory, starts at $42E1 up to $436D
- Original routine was smaller. The new one doesn't fit in the same program space. I patched at $42E1 a little jump to the sub-routine at $7800.
- Removed all the rest of code up to $436D and at $43CF with $21FE (BRN *) equivalent of NOPs.
- Values for X (16-bits),Y (8-bits) and Button (8-bit) are stored in $4000-$4001,$4002 and $4003 respectively.

Feel free to comment for any improvement.

Have fun!
Patrick